<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	template="/templates/default.xhtml">

	<f:metadata>
		<!-- bind the key of the process to be started -->
		<f:viewParam name="processDefinitionKey" />
	</f:metadata>

	<ui:define name="content">

		<h1>#{inboxController.currentTask.name} #{processDefinitionKey}</h1>
		<p>
			<em>#{inboxController.currentTask.description}</em>
		</p>

		<table>
			<tr>
				<td></td>
				<td><h:form>
						<h:commandButton
							action="#{processController.startProcessInstance(processDefinitionKey)}"
							value="Submit" update="growl" />
					</h:form></td>
			</tr>
		</table>
	</ui:define>
</ui:composition>


